
import asyncio
from agent.react_agent import ReactAgent
from tools.tool_manager import ToolManager


async def main():
    tool_manager = ToolManager()
    react = ReactAgent(tool_manager)
    result = await react.run(
        '12345',
        query="明天我要到昆明旅游，从成都磨子桥出发，三天，帮我制定一份详尽的计划"
    )
    print(result)


if __name__ == '__main__':
    asyncio.run(main())